function bar(title_str, xAxisList, seriesList,heightStr,widthStr) {

    var legend = {
        enabled: false
    }

    var chart = {
        type: 'column',
        // borderWidth: 1,
        // plotBorderWidth: 1,
        marginTop: 30,
        height: heightStr,
        width: widthStr
    };
    var title = {
        text: title_str
    };
    var xAxis = {
        labels: {
            rotation: 45//倾斜45度
        },
        categories: xAxisList,
        crosshair: true
    };
    var yAxis = {
        min: 0,
        title: {
            text: ""
        }
    };
    var plotOptions = {
        column: {
            dataLabels: {
                enabled: true, // dataLabels设为true
                style: {
                    color: '#D7DEE9'
                }
            },
            pointPadding: 0.2,
            borderWidth: 0
        }
    };
    var credits = {
        enabled: false
    };

    var series = [{
        name: title_str,
        data: seriesList}];

    var json = {};
    json.chart = chart;
    json.title = title;
    json.xAxis = xAxis;
    json.yAxis = yAxis;
    json.series = series;
    json.plotOptions = plotOptions;
    json.credits = credits;
    json.legend = legend;
    return json
}